package com.keywaysoft.workflow.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

/**
 * @author zhaojx
 */
@Data
@ApiModel(value = "流程任务实体类")
public class ActRuTask implements Serializable {

    @ApiModelProperty(value="主键")
    private String id;
    @ApiModelProperty(value="执行对象id")
    private String executionId;
    @ApiModelProperty(value="流程实例ID")
    private String procInstId;
    @ApiModelProperty(value="流程定义ID")
    private String procDefId;
    @ApiModelProperty(value="任务名")
    private String name;
    @ApiModelProperty(value="父节点任务ID")
    private String parentTaskId;
    @ApiModelProperty(value="描述")
    private String description;
    @ApiModelProperty(value="任务key")
    private String taskDefKey;
    @ApiModelProperty(value="任务拥有者")
    private String owner;
    @ApiModelProperty(value="任务处理人")
    private String assignee;
    @ApiModelProperty(value="委托人")
    private String delegation;
    @ApiModelProperty(value="开始日期")
    private Date createTime;
    @ApiModelProperty(value="过期日期")
    private Date dueDate;
    @ApiModelProperty(value="挂起状态")
    private Integer suspensionState;
    @ApiModelProperty(value="业务key")
    private String businessKey;
    @ApiModelProperty(value = "自定义参数")
    private Map<String,Object> variblesMap;
    @ApiModelProperty(value="部署ID")
    private String deploymentId;
    @ApiModelProperty(value="流程定义key")
    private String definitionKey;

    private static final long serialVersionUID = 1L;

}